sandbox: Build with -fPIC
authorAndy Shevchenko <[email protected]>
Mon, 3 Sep 2018 09:08:10 +0000 (12:08 +0300)
committerSimon Glass <[email protected]>
Tue, 18 Sep 2018 06:01:18 +0000 (00:01 -0600)
commite599c4e7d8e1bd6e923838a77d01271935709cfd
tree2c5183313fd4a7adc7b636b7f413bf878050c541
parent40e44c8bf516e7071c9b80113473be5757e8c3f3
sandbox: Build with -fPIC

Sandbox is not a real bootloader and it does require
a position independent code to be supported.

Thus, build it with -fPIC explicitly.

Fixes: 16940f720f9b ("Makefile: Don't generate position independent code")
Signed-off-by: Andy Shevchenko <[email protected]>
Reported-by: Simon Glass <[email protected]>
Tested-by: Bin Meng <[email protected]>
Acked-by: Simon Glass <[email protected]>
Tested-by: Simon Glass <[email protected]>
arch/sandbox/config.mk